package com.haitaoit.chengquan.baiduservice;

public class LocationInfoModel {
	static LocationInfoModel locationInfoModel;
	String city;
	String district;
	String street;
	Double latitude;
	Double lontitude;
	String id;
	float radius;
	

	public float getRadius() {
		return radius;
	}

	public void setRadius(float radius) {
		this.radius = radius;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLontitude() {
		return lontitude;
	}

	public void setLontitude(Double lontitude) {
		this.lontitude = lontitude;
	}

	public static LocationInfoModel getInstance() {
		if (locationInfoModel == null) {
			locationInfoModel = new LocationInfoModel();
		}
		return locationInfoModel;
	}

	@Override
	public String toString() {
		return "LocationInfoModel [city=" + city + ", district=" + district
				+ ", street=" + street + ", latitude=" + latitude
				+ ", lontitude=" + lontitude + "]";
	}

}
